package com.itheima.service;

import com.itheima.pojo.Class1;
import com.itheima.pojo.PageBean;

import java.time.LocalDate;

public interface ClassService {
    Boolean addClass(Class1 cls);

    Boolean deleteByIds(String[] ids) throws Exception;

    PageBean getAllClass(Integer page, Integer pageSize, String className, LocalDate beginTime, LocalDate endTime);

    Boolean updateClass(Class1 cls) throws Exception;
}
